package com.clubmg.dao;

import com.clubmg.pojo.Activity;
import com.clubmg.pojo.Attend;
import com.clubmg.pojo.Member;
import com.clubmg.pojo.Notice;


public interface MemberDao {

    int getClubById(Long cid);

    /**
     * @return 指定用户在指定社团的信息
     */
    Member getMemberInfoByTwoKey(Long uid, Long cid);

    void joinClub(Member member);

    void updateApply(Member newMemberInfo);

    void attendActivity(Attend attend);

    void saveNewNotice(Notice notice);

    void recallNotice(Notice notice);

    void holdActivity(Activity activity);
}
